Searchanise\SmartWoocommerceSearch\Hooks D

Total Complexity 140
Dependencies 9
Dependents 1
Total lines 1,066
Lines of code 481
Logical lines of code 222
Comment lines 365
Methods 48
Properties 0

Methods 48

Method Rating Maintainability Complexity Lines of code
trashedPost()
A
50 10 28
updateOption()
A
48 9 34
productDataStoreCptGetProductsQuery()
A
52 8 25
untrashedPost()
A
54 8 22
addProductToQueue()
S
51 7 27
updateOrder()
S
55 7 20
activateAddon()
S
52 6 24
updateSalesData()
S
57 6 17
deleteTerm()
S
61 4 13
savePost()
S
65 4 9
preTrashPost()
S
64 4 10
commentPost()
S
63 4 10
checkProductCat()
S
67 3 7
transitionCommentStatus()
S
73 3 5
updateCommentCount()
S
70 3 6
editedTerms()
S
66 3 9
beforeDeleteOrderItem()
S
63 3 10
getProductIdsByTaxonomy()
S
59 2 15
deleteOrder()
S
73 3 5
newProductVariation()
S
71 3 6
preDeleteTerm()
S
67 3 8
productImportBeforeImport()
S
61 2 13
getProductIdsByTagId()
S
57 1 17
getProductIdsByCategoryId()
S
57 1 17
deleteProductTag()
S
69 2 7
attributeUpdated()
S
68 2 7
editedProductTag()
S
71 2 6
deactivateAddon()
S
65 2 9
deleteProductCat()
S
69 2 7
createProductCat()
S
72 2 6
editedProductCat()
S
72 2 6
deletePage()
S
65 2 9
updatePage()
S
65 2 9
getProductParentIds()
S
61 1 13
getHooks()
S
81 1 3
getFilters()
S
81 1 3
processProductMeta()
S
81 1 3
updateProduct()
S
81 1 3
updateProductVariation()
S
81 1 3
orderStatusChanged()
S
81 1 3
deleteProduct()
S
81 1 3
newOrder()
S
81 1 3
isActive()
S
80 1 3
deletedReviewMeta()
S
81 1 3
createProductTag()
S
91 1 2
attributeDeleted()
S
81 1 3
attributeAdded()
S
82 1 3
__construct()
S
68 1 7